package com.domain;

public class Composer {
    private String id;//创作者id（唯一编号）
    private String userName;//用户名（昵称）
    private String password;//密码
    private String status;//账户状态：0（账号关闭）、1（账户开启）
    private String referee;//推荐人

    //    private String managerId;//管理员id（使用hibernat的多余字段，然javabean必需字段，请取消注释，并添加其get/set方法）

    /*one关联对象*/
    private Manager manager;//管理员

    /*个人信息外键对象*/
    private PersonalInfo personalInfo;

    /*任务信息*/
    private TaskInfo taskInfo;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getReferee() {
        return referee;
    }

    public void setReferee(String referee) {
        this.referee = referee;
    }

    public Manager getManager() {
        return manager;
    }

    public void setManager(Manager manager) {
        this.manager = manager;
    }

    public PersonalInfo getPersonalInfo() {
        return personalInfo;
    }

    public void setPersonalInfo(PersonalInfo personalInfo) {
        this.personalInfo = personalInfo;
    }

    public TaskInfo getTaskInfo() {
        return taskInfo;
    }

    public void setTaskInfo(TaskInfo taskInfo) {
        this.taskInfo = taskInfo;
    }
}
